@import "mobile/mobile-variables";
// 布局
* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none
}

img {
  vertical-align: top
}

input:focus, select:focus, textarea:focus, button:focus {
  outline: none
}

a {
  text-decoration: none;
  -webkit-touch-callout: none
}

input, textarea {
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text
}

html {
  font-size: 10px
}

body {
  //font-size: 1.2em
}

html, body {
  height: 100%;
  background: #f8f8f8;
}

.layout_wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  -webkit-flex-direction: column;
  flex-direction: column;
  height: 100%
}

.layout_head {
  height: 0.88rem;
  line-height: 0.88rem;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  background-color: #f8f8f8;
  color: map_get($important-color, 200)
}

.layout_foot {
  color: #999999;
  background-color: #f8f8f8;
  height: 0.98rem;
}

.layout_body {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 100%;
  //background-color: #ffffff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch
}

.mat-progress-bar-buffer.mat-progress-bar-element {
  background-color: #efefef;
}

.mat-progress-spinner {
  svg {
    position: relative;
  }
}

.tab-content {
  .mat-tab-body-content {
    padding-left: 0.32rem;
  }
}

.itemlist-tab {
  &.mat-tab-group {
    padding: 0;
    .mat-tab-labels {
      padding: 0 0.08rem;
      .mat-tab-label {
        min-width: 33.3% !important;
        width: 33.3% !important;
        height: 1rem;
      }
    }
  }
  .red-status {
    .mat-progress-spinner {
      path {
        stroke: #ff6600;
      }
    }
  }
  .mat-progress-spinner {
    path {
      stroke: #4da9eb;
      stroke-width: 6px !important;
    }
  }
  .deferred-status {
    .mat-progress-spinner {
      path {
        stroke: #eb6120;
      }
    }
  }
  .finish-status {
    .mat-progress-spinner {
      path {
        stroke: #32d5a5;
      }
    }
  }
}

.item-detail {
  .mat-slider-horizontal {
    .mat-slider-track-wrapper, .mat-slider-track-background {
      height: 0.12rem;
      background: #ddd;
      border-radius: 0.08rem;
    }
    .mat-slider-track-fill {
      background-color: #66a2d8;
      height: 0.12rem;
      border-radius: 0.08rem;
    }
    .mat-slider-thumb, .mat-slider-thumb-label {
      background-color: #ffffff;
      box-shadow: 0 0 13px 4px #66a2d8;
      border: 0;
      width: 0.46rem;
      height: 0.46rem;
      right: -0.23rem;
      bottom: -0.23rem;
    }

  }
}

.swal2-modal {
  width: 5rem !important;
  position: relative;
  border-radius: 4px;
  .swal2-title {
    margin: 0 0 0.6rem;
  }
  .swal2-content {
    margin-bottom: 1rem;
  }
  .swal2-buttonswrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
  }
  .swal2-styled {
    float: right;
    width: 50%;
    margin: 0;
  }
  .swal2-confirm {
    border-left: 1px solid #999999 !important;
    color: #ff6600;
  }
  .swal2-cancel {
    color: #999999;
  }
}
